<?php /* Smarty version 2.6.18, created on 2017-09-03 20:01:13
         compiled from auto.html */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'header2.html', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<style type="text/css">
.data_table .flag{width:70px;}
.data_table td{height:30px;}
.pantb td{text-align:center}
input.s1{padding:1.5px;}
</style>
</head>
<body id="topbody">
<script id=myjs language="javascript">
var js=1;var sss='auto';
</script>


<div class="main">
	<div class="top_info">
		<span class="title">警示金额设定</span><span class="right"></span>
	</div>
    	<div class="control">
			<input type="button" gid="172" class="yiwotongbu" value="以我同步赛车系列">&nbsp;&nbsp;&nbsp;<input type="button" value="保存" class="button send"><input type="button" value="取消" class="button" style="display:none">
		</div>
		<div class="contents param_panel">
			<div class="game_class">
				<ul>
<?php if ($this->_tpl_vars['config']['fasttype'] == 1): ?>
<li><span>快开彩</span>
<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['game']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
    <?php if ($this->_tpl_vars['game'][$this->_sections['i']['index']]['fast'] == 1): ?><a href="javascript:void(0)" class="g<?php echo $this->_tpl_vars['game'][$this->_sections['i']['index']]['gid']; ?>
"  gid='<?php echo $this->_tpl_vars['game'][$this->_sections['i']['index']]['gid']; ?>
'><?php echo $this->_tpl_vars['game'][$this->_sections['i']['index']]['gname']; ?>
</a><?php endif; ?>
 <?php endfor; endif; ?>
</li>
<?php endif; ?>
<?php if ($this->_tpl_vars['config']['slowtype'] == 1): ?>
<li><span>低频彩</span>
<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['game']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
    <?php if ($this->_tpl_vars['game'][$this->_sections['i']['index']]['fast'] == 0): ?><a href="javascript:void(0)" class="g<?php echo $this->_tpl_vars['game'][$this->_sections['i']['index']]['gid']; ?>
" gid='<?php echo $this->_tpl_vars['game'][$this->_sections['i']['index']]['gid']; ?>
'><?php echo $this->_tpl_vars['game'][$this->_sections['i']['index']]['gname']; ?>
</a><?php endif; ?>
 <?php endfor; endif; ?>
</li>
<?php endif; ?>
				</ul>
			</div>
            
 <table class="list data_table pantb">
 <thead>
  <TR>
  <th class="wd120"><input type="checkbox"  class="all" />全选</th>
   <th class="wd120">类别</th>
   <th>开关</th>
   <th>预降</th>
   <th>计算方法</th>
   <th>开始下调金额-下调赔率</th>
   <th>金额变动值-下调赔率</th>
   <th>开始下调期数-下调赔率[限快开]</th>
   <th style="display:none">停止下注金额</th>
   <th>最低赔率</th>
  </TR>
  </thead>
  <?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['auto']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
  <tr f='<?php echo $this->_tpl_vars['auto'][$this->_sections['i']['index']]['ftype']; ?>
' class="nr">
  <td><input type="checkbox"  /><input type="button" class="s1 pantb" value="同步选中" /></td>
   <th ><?php echo $this->_tpl_vars['auto'][$this->_sections['i']['index']]['name']; ?>
</th>
   <td><input type="checkbox" class="ifok" <?php if ($this->_tpl_vars['auto'][$this->_sections['i']['index']]['ifok'] == 1): ?>checked<?php endif; ?> /></td>
   <td><input type="checkbox" class="yj" <?php if ($this->_tpl_vars['auto'][$this->_sections['i']['index']]['yj'] == 1): ?>checked<?php endif; ?> /></td>
   <td><select class='ifzc'>
     <option <?php if ($this->_tpl_vars['auto'][$this->_sections['i']['index']]['ifzc'] == 0): ?>selected<?php endif; ?> value="0">全部</option>
     <option <?php if ($this->_tpl_vars['auto'][$this->_sections['i']['index']]['ifzc'] == 1): ?>selected<?php endif; ?>  value="1">占成</option>
    </select></td>
   <td><input type="text" class="flag startje"  value="<?php echo $this->_tpl_vars['auto'][$this->_sections['i']['index']]['startje']; ?>
" />
    -
    <input type="text" class="flag startpeilv"  value="<?php echo $this->_tpl_vars['auto'][$this->_sections['i']['index']]['startpeilv']; ?>
" /></td>
   <td><input type="text" class="flag addje"  value="<?php echo $this->_tpl_vars['auto'][$this->_sections['i']['index']]['addje']; ?>
" />
    -
    <input type="text" class="flag attpeilv"  value="<?php echo $this->_tpl_vars['auto'][$this->_sections['i']['index']]['attpeilv']; ?>
" /></td>
   <td><input type="text" class="flag qsnum"  value="<?php echo $this->_tpl_vars['auto'][$this->_sections['i']['index']]['qsnum']; ?>
" />
    -
    <input type="text" class="flag qspeilv"  value="<?php echo $this->_tpl_vars['auto'][$this->_sections['i']['index']]['qspeilv']; ?>
" /></td>
   <td  style="display:none"><input type="text" class="flag stopje"  value="<?php echo $this->_tpl_vars['auto'][$this->_sections['i']['index']]['stopje']; ?>
" /></td>
   <td><input type="text" class="flag lowpeilv"  value="<?php echo $this->_tpl_vars['auto'][$this->_sections['i']['index']]['lowpeilv']; ?>
" /></td>
  </tr>
  <?php endfor; endif; ?>
 </table>
</div>
</div>
<script language="javascript">
var gid=<?php echo $this->_tpl_vars['gid']; ?>
;
</script>
<div id='test'></div>
</body>
</html>